package com.apexedu.portal.action;

import com.apexedu.framework.service.BaseService;
import com.apexedu.portal.entity.TDb;
import com.apexedu.sys.action.AbstractBaseActionSupport;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * 门户数据源维护
 * Created by janabo on 2014-10-9.
 */
@SuppressWarnings("serial")
@Component
@Scope("prototype")
public class PortalDBAction extends AbstractBaseActionSupport {

    //数据源维护实体
    private TDb tdb;
    /**
     * 此方法植入service类
     */
    @Resource(name="portalDbService")
    public void setBaseService(BaseService baseService){
        super.setBaseService(baseService);
    }

    public TDb getTdb() {
        return tdb;
    }

    public void setTdb(TDb tdb) {
        this.tdb = tdb;
    }


}
